package presentation;

import java.awt.EventQueue;

import javax.swing.JPanel;

public class CustomerUIManager {
	
	private CustomerFrame customerFrame;
	private CustomerHeadPanel headPanel;
	private JPanel bodyPanel;
	
	public void run() {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					customerFrame = new CustomerFrame();
					customerFrame.setLocationRelativeTo(null);
					customerFrame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
	
	public void setHead(CustomerHeadPanel headPanel) {
		this.headPanel = headPanel;
	}
	
	public void setBody(JPanel bodyPanel) {
		
	}
	
	public static void main(String args[]) {
		new CustomerUIManager().run();
	}

}
